﻿namespace System.Web.Core
{
    public class SqlResult
    {
        #region Private Members

        private int status = -9999;
        private string message;

        #endregion

        #region Constructors

        public SqlResult()
        {
        }
        public SqlResult(int defaultStatus)
        {
            this.status = defaultStatus;
        }
        public SqlResult(int defaultStatus, string message)
        {
            this.status = defaultStatus;
            this.message = message;
        }

        #endregion

        #region Public Properties

        public int Status
        {
            get
            {
                return status;
            }
            set
            {
                status = value;
            }
        }
        public string Message
        {
            get
            {
                return message;
            }
            set
            {
                message = value;
            }
        }

        #endregion
    }
}